<template>
    <div>
        <p>邮箱：<input type="text" v-model="email"></p>
        <p><input type="button" value="发送邮箱" @click="send_email()"></p>    
    </div>    
</template>

<script>
import {send_user_email} from "./axios_api/api.js"
export default {
    name:"send_email",
    data() {
        return {
            email:"",
        }
    },
    methods:{
        send_email(){
            send_user_email({"email":this.email})
            .then(res=>{
                console.log(res)
            })
        }
    }
}
</script>

<style>

</style>
